package com.gouaixin.bee.beeframework2.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;


import com.gouaixin.bee.beeframework2.R;

/**
 * Created by Administrator on 2015/3/5.
 */
//注册登录界面
public class A1_SigninActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.a1_signin);

        TextView regin= (TextView) findViewById(R.id.regin);
        TextView login= (TextView) findViewById(R.id.login);

        regin.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                android.util.Log.e("Demo", "进入注册界面");

                Intent mainIntent = new Intent().setClass(A1_SigninActivity.this, A2_ReginActivity.class);
                startActivity(mainIntent);
                finish();
            }
        });

        login.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                android.util.Log.e("Demo", "进入登录界面");

                Intent mainIntent = new Intent().setClass(A1_SigninActivity.this, A3_LoginActivity.class);
                startActivity(mainIntent);
                finish();
            }
        });
    }
}
